package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account   string `gorm:"type:varchar(20)" json:"account"`
	Password  string `gorm:"type:varchar(32)" json:"password"`
	Username  string `gorm:"type:varchar(20)" json:"username"`
	Marry     string `gorm:"type:enum('已婚','未婚')" json:"marry"`
	SfzImage  string `gorm:"type:varchar(200)" json:"sfz_image"`
	Sex       string `gorm:"type:enum('男','女')" json:"sex"`
	TimeBirth string `gorm:"type:varchar(30)" json:"time_birth"`
}
